feat: Swap Swagger UI with Scalar UI docs for Chapters 2, 3, and 4#245
Open
feat: Swap Swagger UI with Scalar UI docs for Chapters 2, 3, and 4#245
Conversation
Agent-Logs-Url: https://github.com/evolutionary-architecture/evolutionary-architecture-by-example/sessions/30428a77-ae98-466a-b4cc-d62d9b803116 Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update chapter 2 and 3 contracts and monolith for chapter 4
feat: Swap Swagger UI with Scalar UI docs for Chapters 2, 3, and 4
Mar 29, 2026
kamilbaczek
approved these changes
Mar 30, 2026
kamilbaczek
reviewed
Mar 30, 2026
| @@ -7,7 +7,7 @@ | |||
| public static class ApiDocumentationExtensions | |||
| { | |||
| public static void UseApiDocumentation(this IEndpointRouteBuilder app) => | |||
| app.MapGet("/", () => Results.Redirect("/swagger")) | |||
…nExtensions.cs Agent-Logs-Url: https://github.com/evolutionary-architecture/evolutionary-architecture-by-example/sessions/d326031b-41b8-4600-b88f-5b27bf3c62e7 Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Description
Extends the Scalar API documentation integration from Chapter 1 (PR #236) to Chapters 2, 3, and 4 — covering both the Fitnet monolith and Fitnet.Contracts microservice where applicable.
Changes across all 5 affected projects (Ch2/Fitnet, Ch3/Fitnet, Ch3/Fitnet.Contracts, Ch4/Fitnet, Ch4/Fitnet.Contracts):
Directory.Packages.props— replaceSwashbuckle.AspNetCorewithScalar.AspNetCorev2.12.17.csproj— update package referenceProgram.cs— migrate to native OpenAPI + Scalar:launchSettings.json—launchUrl:swagger→docs/v1; remove IIS Express profileApiDocumentationExtensions.cs(Ch2 only) — root redirect updated from/swagger→/docs/v1; file renamed fromSwaggerDocumentationExtensions.cstoApiDocumentationExtensions.csto match the class name📦 PR Includes
🚫 PR Does Not Include
💡 Additional Notes
API docs available at
/docs/v1in development mode. Consistent with the Chapter 1 implementation.⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.